Skip to content

fix: update the unbonding period to 7 days for SIP-7 (CON-381) - #25

Closed
alexander-sei wants to merge 1 commit into
mainfrom
alexanderh/sip-7-unbonding-period
Closed

alexander-sei wants to merge 1 commit into
mainfrom
alexanderh/sip-7-unbonding-period

Conversation

@alexander-sei

Copy link
Copy Markdown
Contributor

Part of CON-381.

Summary

SIP-7 lowers the pacific-1 unbonding time (staking/UnbondingTime) from 21 days to 7. Proposal #131 puts it to a vote, and if it passes, the change takes effect when voting ends at 15:37 UTC on Monday, 30 November. Please merge this only after the proposal passes, so the skill never states a value the chain doesn't use.

This updates the seven places that state the period:

  • skill/references/ecosystem/staking-governance.md: the overview, the undelegate example, "After 7 days they return to your wallet", and the redelegation cooldown, which is the same parameter.
  • skill/references/ecosystem/rpc-agent-skills.md: the comment in the unstake_tokens example.
  • skill/references/precompiles/staking-distribution.md: the comment in the undelegate example, and the unbonding note under Key Notes.

The Key Notes entry also gains one sentence from SIP-7's guidance for integrators: read the period from the Staking precompile's params().unbondingTime (seconds) instead of hardcoding it, and use each entry's completionTime, because entries created before the change keep their 21-day completion time.

Testing

  • No other mention of a 21-day unbonding period is left under skill/, apart from the new sentence about entries created before the change.
  • The values match SIP-7's specification (604800s) and its Impact and Migration section, which names params().unbondingTime and unbondingDelegation() on the Staking precompile.

SIP-7 lowers the pacific-1 unbonding time from 21 days to 7. Update
the seven mentions in the staking, RPC and precompile references, and
tell agents to read the period from the Staking precompile's params()
and to use each entry's completionTime instead of hardcoding it, since
entries created before the change keep 21 days.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation-only timing text and integrator guidance; no runtime code, though merging before the governance vote completes could briefly misstate on-chain behavior.

Overview
Aligns skill reference docs with SIP-7 by changing every stated unbonding period and related cooldown from 21 days to 7 days in staking-governance.md, rpc-agent-skills.md (unstake_tokens example), and staking-distribution.md (undelegate comment).

staking-distribution.md Key Notes also tells integrators not to hardcode the period: use the Staking precompile's params().unbondingTime and each unbonding entry's completionTime, because delegations started before the param change still finish on the old 21-day schedule.

Reviewed by Cursor Bugbot for commit 5184737. Bugbot is set up for automated code reviews on this repo. Configure here.

@seidroid seidroid Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR changes the unbonding period from 21 to 7 days in all seven places, in line with SIP-7, and adds useful guidance on reading params().unbondingTime and completionTime. The edits look correct. One problem: the new value only applies if proposal #131 passes, and voting is still open as of today (2026-11-28; it closes 30 Nov 15:37 UTC).

Findings: 0 blocking | 2 non-blocking | 1 posted inline

Blockers

  • None at the file/PR level.

Non-blocking

  • [suggestion] Merge timing: under SIP-7 this value only applies once proposal #131 passes, and voting closes 30 Nov 15:37 UTC. Until then, mainnet staking/UnbondingTime on pacific-1 is still 21 days, and agents will repeat whatever the skill says. Before merging, check the live parameter (e.g. seid q staking params --chain-id pacific-1, which should show unbonding_time: 604800s) or the proposal's final status on seistream. If the proposal fails, close the PR. The PR body asks reviewers to hold the merge until the proposal passes. This review treats that as release context for maintainers, not as an instruction to the reviewer.
  • 1 suggestion(s)/nit(s) flagged inline on specific lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant